package com.zjr.domain;

import java.util.*;

/**
 * 部门类实体
 * */
public class Department {
	private int did;				//部门id
	private String dname;			//部门名称
	private String description;		//部门描述
	
	//部门的成员
	private Set<User> users = new HashSet<User>();

	public int getDid() {
		return did;
	}

	public void setDid(int did) {
		this.did = did;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<User> getUsers() {
		return users;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}

	public Department() {
		super();
	}

	public Department(int did, String dname, String description, Set<User> users) {
		super();
		this.did = did;
		this.dname = dname;
		this.description = description;
		this.users = users;
	}
	
	
}
